namespace TestConsoleApplication
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class YWM_Member_UserInfo
    {
        public Guid ID { get; set; }

        [Required]
        [StringLength(20)]
        public string LoginAccount { get; set; }

        [StringLength(10)]
        public string NickName { get; set; }

        [Required]
        [StringLength(200)]
        public string HeadImg { get; set; }

        [Required]
        [StringLength(32)]
        public string LoginPassword { get; set; }

        [StringLength(32)]
        public string PayPassword { get; set; }

        public bool IsExpert { get; set; }

        public int State { get; set; }

        public int AccumulateExp { get; set; }

        public bool FirstPay { get; set; }

        public Guid LevelId { get; set; }

        public decimal CaiDou { get; set; }

        public int Score { get; set; }

        [StringLength(20)]
        public string RealName { get; set; }

        public int? Sex { get; set; }

        [StringLength(18)]
        public string IdCard { get; set; }

        [StringLength(200)]
        public string IdCardUrl { get; set; }

        [StringLength(11)]
        public string Tel { get; set; }

        public bool IsRealName { get; set; }

        public DateTime? BirthDay { get; set; }

        public Guid? ProvId { get; set; }

        public Guid? CityId { get; set; }

        [StringLength(200)]
        public string Address { get; set; }

        public int LoginType { get; set; }

        [StringLength(200)]
        public string ThreadLoginToken { get; set; }

        [Required]
        [StringLength(200)]
        public string DeviceToken { get; set; }

        public int? InEquityYear { get; set; }

        public Guid? AssistantId { get; set; }

        public bool IsSubscribe { get; set; }

        public bool IsSign { get; set; }

        public int ReportCount { get; set; }

        public DateTime CreateTime { get; set; }

        public bool IsDeleted { get; set; }

        public int IdCardType { get; set; }
    }
}
